package mortal.component.skin
{
	import com.mui.skins.*;
	import fl.managers.*;
	import mortal.component.gconst.*;
	/*
	import mortal.component.skin.Label.*;
	import mortal.component.skin.button.*;
	import mortal.component.skin.button.battlefield.*;
	import mortal.component.skin.button.chat.*;
	import mortal.component.skin.button.fish.*;
	import mortal.component.skin.button.flowers.*;
	import mortal.component.skin.button.guildFlame.*;
	import mortal.component.skin.button.mounts.*;
	import mortal.component.skin.checkBox.*;
	import mortal.component.skin.combobox.*;
	import mortal.component.skin.list.*;
	import mortal.component.skin.numericStepper.*;
	import mortal.component.skin.scrollBar.*;
	import mortal.component.skin.scrollPane.*;
	import mortal.component.skin.textArea.*;
	import mortal.component.skin.textInput.*;
	import mortal.component.skin.tileList.*;
	*/
	
	public class GlobalSkin extends Object
	{
		private static var _componentCss:Object = {};//{ButtonLarge:ButtonStyle, Button:ButtonSmallStyle, ButtonSpecial:ButtonSpecialStyle, ButtonMini:ButtonMiniStyle, ButtonRandom:ButtonRandomStyle, LongButton:LongButtonStyle, CloseButton:CloseButtonStyle, CloseButtonBlue:CloseButtonBlueStyle, TabButton:TabButtonStyle, TabButtonVertical:TabButtonVerticalStyle, PageButton:PageButtonStyle, Button3:Button3Style, Button3Font:Button3FontStyle, Button3Big:Button3BigStyle, Button3Font:Button3FontStyle, RoleBgButton:RoleBgButtonStyle, RoleBgButton2:RoleBgButtonStyle2, GLabel:GLabelStyle, GRadioButton:GRadioButtonStyle, PackPopupMenu:PackPopupMenuStyle, SPetButton:SPetButtonStyle, CPetButton:CPetButtonStyle, HPetButton:HPetButtonStyle, GPetButton:GPetButtonStyle, CopyMinimizeButton:CopyMinimizeButtonStyle, GCheckBox:GCheckBoxStyle, GComboboxStyle:GComboboxStyle, TileList:GTileListStyle, NumericStepper:NumericStepperStyle, CheckBoxStyle:CheckBoxStyle, GTextInput:GTextInputStyle, NextPageButton:NextPageButtonStyle, PrevPageButton:PrevPageButtonStyle, FirstPageButton:FirstPageBtnStyle, LastPageButton:LastPageBtnStyle, MoveBtn:MoveBtnStyle, HideBtn:HideBtnStyle, BackBtn:BackBtnStyle, GScrollPane:ScrollPaneStyle, MountEquipBtnStyle:MountEquipBtnStyle, MountUnEquipBtnStyle:MountUnEquipBtnStyle, MountCallBtnStyle:MountCallBtnStyle, MountUnCallBtnStyle:MountUnCallBtnStyle, MountThrowBtnStyle:MountThrowBtnStyle, AddBtn:AddBtnStyle, ScrollBarNormal:ScrollBarStyle, EnterButton:EnterButtonStyle, ExpressionButton:ExpressionButtonStyle, ExpressionChatButton:ExpressionChatButtonStyle, ShieldButton:ShieldButtonStyle, ShrinkButton:ShrinkButtonStyle, SpeakerButton:SpeakerButtonStyle, TransButton:TransparentButtonStyle, DownButton:DownButtonStyle, MinimizeButton:MinimizeBtnStyle, Brush:BrushBtnStyle, Chinese:ChineseBtnStyle, ColorSelector:ColorSelectorBtnStyle, Dice:DiceBtnStyle, English:EnglishBtnStyle, TextButton:TextButtonStyle, FlameIcon:FlameIconBtnStyle, LinkButton:LinkTextButtonStyle, SubBtn:SubBtnStyle, AlphaBtn:AlphaBtnStyle, EvaluateBtn:EvaluateBtnStyle, LingBtn:LingBtnStyle, WuBtn:WuBtnStyle, MoBtn:MoBtnStyle, GTextArea:GTextAreaStyle, ThumbButton:ThumbButtonStyle, FatigueButton:FatigueButtonStyle, FightModeButton:FightModeButtonStyle, PeaceModeButton:PeaceModeButtonStyle, SmallCLoseBtn:SmallCloseButtonStyle, Add2Button:Add2ButtonStyle, AutoGuaButton:AutoGuaButtonStyle, AutoRideButton:AutoRideButtonStyle, AutoSkillButton:AutoSkillButtonStyle, PulseButton:PulseButtonStyle, DescRedButton:DescRedBtnStyle, AscGreenButton:AscGreenBtnStyle, SmallMapUpButton:SmallMapUpButtonStyle, SmallMapDownButton:SmallMapDownButtonStyle, YellowButton:YellowButtonStyle, HelpButton:HelpButtonStyle, CircleButton:CircleButtonStyle, BattlefieldButton:BattlefieldBtnStyle, BattlefieldIconResultBtn:BattlefieldIconResultBtnStyle, BattlefieldIconUpBtn:BattlefieldIconUpBtnStyle, BattlefieldIconDownBtn:BattlefieldIconDownBtnStyle, TurnLeftBtn:TurnLeftBtnStyle, TurnRightBtn:TurnRightBtnStyle, ShowTeamButton:ShowTeamButtonStyle, StrengthenLuckyButton:StrengthenLuckyButtonStyle, VIPButton:VipButtonStyle, VipGrayButton:VipGrayButtonStyle, VIPPackButton:VIPPackButtonStyle, FlowerChat:FlowerChatStyle, FlowerHandsel:FlowerHandselBackStyle, FlowerKissBack:FlowerKissBackStyle, OptionButton:OptionButtonStyle, ButtonYellow:ButtonYellowStyle, FairylandButton:FairylandButtonStyle, GuideItemBtn:GuideItemBtnStyle, RedButton:RedButtonStyle, GuildBigButton:GuildBigButtonStyle, SpaHintButton:SpaHintButtonStyle, SpaInteractButton:SpaInteractButtonStyle, FavoriteButton:FavoriteBtnStyle, SmeltLogoButton:SmeltLogoButtonStyle, GRadioButtonBig:GRadioButtonBigStyle, EndRoastFishButton:EndRoastFishButtonStyle, ButtonTabBar:ButtonTabBarStyle, FontTabBar:FontTabButtonStyle, ButtonSpecial2:ButtonSpecial2Style, TabButtonBig:TabButtonBigStyle};
		
		public function GlobalSkin()
		{
			
		}
		
		public static function initStyleSkin() : void
		{
			StyleManager.setStyle("textFormat", StyleConst.defaultTextFormat);
			registerSkin(_componentCss);
		}
		
		public static function registerSkin(css:Object) : void
		{
			var type:String = null;
			for (type in css)
			{
				
				SkinManager.addStyleSkin(type, css[type]);
			}
			
		}
		
	}
}
